<%@ page language="java"  pageEncoding="UTF-8"%>

<jsp:include page="../../inc.jsp"></jsp:include>
<script charset="utf-8" type="text/javascript" src="${pageContext.request.contextPath}/resources/js/jsp/user/role/list.js"></script>

<!-- content -->
<div class="easyui-layout" data-options="fit:true,border:false">
	<!-- 数据表格 -->
	<div data-options="region:'center',border:false">
		<table id="_datasDatagrid"></table>
		<input type="hidden" id="uid" name="uid" value='${uid}'>
	</div>
</div>

<!-- 右键菜单 -->
<div>
	<div id="datagridContextMenu" class="easyui-menu" style="width:200px">
		<div data-options="iconCls:'icon-add'" onclick="addRow()">增加</div>
		<div data-options="iconCls:'icon-remove'" onclick="deleteRow()">批量删除</div>
		<div data-options="iconCls:'icon-save'" onclick="saveRow()">保存</div>
		<div class="menu-sep"></div>
		<div data-options="iconCls:'icon-redo'" onclick="rejectRow()">撤销</div>
		<div data-options="iconCls:'icon-reload'" onclick="_datasDatagrid.datagrid('reload');">刷新</div>
	</div>
</div>

</body>  
</html>